{include file="public/header" /}
<body class="bgc record-bgc">
<div class="header">
    <i class="layui-icon layui-icon-left goBack"></i>转账记录
</div>
<ul class="new-record tpl_list"></ul>
<script id="template" type="text/html">
    {{# for(var i=0;i < d.data.length ;i++){ }}
    <li class="new-record-li">
        <div class="top">
            <p class="top-text">{{d.data[i].account}}</p>
            {{# if(d.data[i].trStatus == '转出'){ }}
            <p class="top-text color-red">-{{d.data[i].amount}}</p>
            {{# }else{ }}
            <p class="top-text color-blue">+{{d.data[i].amount}}</p>
            {{# } }}
        </div>
        <div class="bottom">
            <p class="times">{{d.data[i].create_time}}</p>
            <p class="sour">{{d.data[i].trUser}}【{{d.data[i].trUsername}}】</p>
        </div>
    </li>
    {{# } }}
</script>
</body>
{include file="public/footer"/}
<script>
    $(function () {
        getFlow(1, "{:url('transfer/getList')}");
    });
</script>
</html>